package service.purchasing;

import java.util.List;
import java.util.Map;
import model.purchasing.OrderMst;
import net.sf.jasperreports.engine.JasperPrint;
import utility.NameValueList;

public interface OrderService {
    boolean save(OrderMst data);
    boolean delete(OrderMst data);
    
    OrderMst get(long id);
    OrderMst get(String transNum);
    String getTransNum(long id);
    
    List<OrderMst> getAll(int start, int num, Map<NameValueList, Object> params);
    List<NameValueList> getListByEntryId(long entryId);
    JasperPrint printData(long autoId, long id);
    
}
